
This is the replication files for the following article; 

Chong Chen,”The Contagion of Foreign Policy Change: Spatio-temporal Dynamics of Chinese Leadership Visits,” The Chinese Journal of International Politics, DOI: 10.1093/cjip/poad003, Vol. 16, No.2, forthcoming. 


Please use the following citation: 

Chong Chen,”The Contagion of Foreign Policy Change: Spatio-temporal Dynamics of Chinese Leadership Visits,” The Chinese Journal of International Politics, DOI: 10.1093/cjip/poad003, Vol. 16, No.2, forthcoming. 


Chen, Chong, 2023, "Replication Data for: The Contagion of Foreign Policy Convergence: Spatiotemporal Dynamics of Chinese Leadership Visits", https://doi.org/10.7910/DVN/D4L1F2, Harvard Dataverse, DRAFT VERSION



--The Code folder contains the following R files:

1. st_effects_new.R: help function for table and figures

2. Figures_2-3.R: Figure 2; Figure 3

3. Figure-4_morgan_I.R: Figure 4

4. Main_modeling.R: Table 1, Table 2; Figure 5; Table  A1, A2, A3, Figure A1

5. Appendix_A4-6.R: Table A4, A5, A6


--The data folder contains the following files for analysis

1. map_countryyear.RData: data for making figures 2-3

2. state_year.RData: data for making figure 4

3. data_imputed.RD: data for main results

4. atop5_0ddyr.csv: data for appendix tables





-- The data on leadership visits (incoming and outgoing for China):  map_countryyear.RData

The variables include: 

	-  "year": the year of observation 

	- "country.name": the target country name

	-  "ccode": the target country's code

	- "statehead.total": the total number of state visits between target country and China in a given year  
 	-  "statefrom.total": the total number of Chinese outgoing state visits in a given year (state visits from China to the target country) 

	-  "stateto.total": the total number of incoming state visits by foreign country in a given year (state visits that are hosted by China  

	-  "ministerfrom.total": the total number of Chinese outgoing minister visits in a given year (minister visits from China to the target country)  

	- "ministerto.total" : the total number of incoming minister visits by foreign country in a given year (minister visits that are hosted by China  

	-  "visit.total": the total number of all visits between China and foreign countries     
  
	-  "visitfrom.total" : the total number of all outgoing visits between China and foreign countries  

	-  "visitto.total"   : the total number of all incoming visits between China and foreign countries 